package com.fance.dao;

import com.fance.model.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author fance
 * @date 18-5-3 下午4:44
 */
@Mapper
public interface UserDAO {

     int addUser(User user);

     User selectById(int id);

     int  updatePassword(User user);

     int  deleteById(int id);

     User selectByName(String username);
}
